

<div class="body_nav">
 <ul>
 	<?php
		foreach($navigation as $item)
		{
			$comb_code = "";
			if(strpos($item->link, $cur_url) == true)
			{
				$comb_code .= "<li class='cur' >";	
			}
			else
			{
				$comb_code .= "<li>";	
			}
			$comb_code .= "<a href='" . $item->link . "' >" . $item->name . "</a>";	
			$comb_code .= "</li>";	
			echo $comb_code;
		}
	?>
 </ul>
</div>
